/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package limousine.vo;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Neo
 */
public class CarRent implements Serializable {

    private static final long serialVersionUID = 1L;
    private String tableId;
    private String carRentRateId;
    private Integer perHour;
    private Integer minimumCharge;
    private Integer sedan;
    private Integer van;
    private Integer trip;
    private Integer serviceType;
    private String serviceTypeName;
    private String createBy;
    private String createByName;
    private Date createDate;
    private String updateBy;
    private String updateByName;
    private Date updateDate;

    public CarRent() {
    }

    public CarRent(String tableId) {
        this.tableId = tableId;
    }

    public CarRent(String tableId, Date createDate, Date updateDate) {
        this.tableId = tableId;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getCarRentRateId() {
        return carRentRateId;
    }

    public void setCarRentRateId(String carRentRateId) {
        this.carRentRateId = carRentRateId;
    }

    public Integer getPerHour() {
        return perHour;
    }

    public void setPerHour(Integer perHour) {
        this.perHour = perHour;
    }

    public Integer getMinimumCharge() {
        return minimumCharge;
    }

    public void setMinimumCharge(Integer minimumCharge) {
        this.minimumCharge = minimumCharge;
    }

    public Integer getSedan() {
        return sedan;
    }

    public void setSedan(Integer sedan) {
        this.sedan = sedan;
    }

    public Integer getVan() {
        return van;
    }

    public void setVan(Integer van) {
        this.van = van;
    }

    public Integer getTrip() {
        return trip;
    }

    public void setTrip(Integer trip) {
        this.trip = trip;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }

    public String getUpdateByName() {
        return updateByName;
    }

    public void setUpdateByName(String updateByName) {
        this.updateByName = updateByName;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (tableId != null ? tableId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof CarRent)) {
            return false;
        }
        CarRent other = (CarRent) object;
        if ((this.tableId == null && other.tableId != null) || (this.tableId != null && !this.tableId.equals(other.tableId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "limousine.vo.CarRent[tableId=" + tableId + "]";
    }
}
